package cn.buddha.jesdp.proxystatic;

/**
 * @author shihao
 * @description 静态代理测试
 */
public class StaticProxyTest {

    public static void main(String[] args) {
        LoadInterface<String, String> loadPurchase = new LoadPurchase();

        // 交易类型代理类
        LoadStaticProxy<String, String> loadStaticProxy = new LoadStaticProxy<>();
        loadStaticProxy.setSubjectInterface(loadPurchase);
        System.err.println(loadStaticProxy.loadData("加载的申请为: "));
    }

}
